{% extends "main.html" %}


{% block content %}
<table style="margin-bottom:60px;" border="0" width="100%">
  <tr>
    <th width="60%" align="left" ><b>Condominium Demo</b><br>
      Address
    </th>
    <th align="right"><h3>PAYMENT RECEIPT</h3>
    Processed by computer</th>
  </tr>
<tr>
    <td>TIN: {{ object.fraccao.proprietario.nif }}<br>
      Emission Date: {{ object.dataEmissao }}
    
    </td>
    <td>Mr(s).<br>
      {{ object.fraccao.proprietario }}<br>
      {{ object.fraccao.proprietario.morada }}
    </td>
  </tr>
</table>

<h6>Payment Method: {{ object.get_modoPagamento_display }}</h6>
<table border="0" width="100%">
<thead>
  <tr>
    <th>Doc. Number</th>
    <th>Emission Date</th>
    <th>Fraction</th>
    <th>Tipology</th>
    <th>Description</th>
    <th>Payment Date</th>
    <th>Value</th>
  </tr>
</thead>
  <tr>
    <td>{{ object.id }}</td>
    <td>{{ object.dataEmissao }}</td>
    <td>{{ object.fraccao }}</td>
    <td>{{ object.fraccao.fraccaoTipo }}</td>
    <td width="200px">{{ object.get_receita_display }}</td>
    <td>{{ object.dataPagamento }}</td>
    <td width="50px"><b>{{ object.valor }} €</b></td>
  </tr>
</table>
<p></p>
<div class="notification png_bg">
        <div><center><h3><a class="print" href="javascript:this.print();">Print Receipt</a></h3></center></div>
      </div>



              


{% endblock %}

